package com.ishare.api.po.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

/**
 * @author 李嘉宾
 */
@Data
@ApiModel(description = "校验用户名是否已经注册提交参数")
public class CheckUserNameRepeatedRegisterParam {

    /**
     * 邮箱
     */
    @NotEmpty(message = "用户名不能为空")
    @ApiParam(value = "用户名")
    private String userName;
}
